package ${service_interface_package_name};

import com.doubo.common.model.CommonPageResult;
import com.doubo.common.model.response.CommonResponse;
import ${request_package_name}.${table_name}Request;
import ${request_package_name}.${table_name}PageRequest;
import ${response_package_name}.${table_name}Response;
import java.util.List;
/**
* 描述：${table_annotation} 服务实现层接口
* @author ${author}
* @date ${date}
*/
public interface ${table_name}Service{


    /**
    * 分页查询
    */
    CommonResponse<CommonPageResult<${table_name}Response>> listForPage(${table_name}PageRequest request);
    /**
    * 分页查询
    */
    CommonResponse<List<${table_name}Response>> listAll(${table_name}Request request);

    /**
    * 详细查询
    */
    CommonResponse<${table_name}Response> selectDetail(${table_name}Request request);

    /**
    * 增加
    */
    CommonResponse<Boolean> saveByRequest(${table_name}Request request);

    /**
    * 删除
    */
    CommonResponse<Boolean> deleteByRequest(${table_name}Request request);

    /**
    * 根据id集合返回MAP
    */
    CommonResponse<Map<Long,${table_name}Response>> selectMapByIds(List list);


}